package com.zzz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzz.dto.ExcelDTO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhuzhizun
 * @date 2021/8/17
 */
@Repository
@Mapper
public interface ExcelMapper extends BaseMapper<ExcelDTO> {

    /**
     * 批量插入
     * @param list 数据列表
     * @return
     */
    int insertForeach(List<ExcelDTO> list);

}
